﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.DnsToolkit.Packet;

namespace System.Net.DnsToolkit.Resolver {
    /// <summary>
    /// Build Query Message
    /// </summary>
    public interface IQueryBuilder {

        /// <summary>
        /// Build a DNS Query message to be use to query name
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        IMessage Build(string name);
    }
}
